//
//  WMEUserModel.m
//  everyDay_duiTang
//
//  Created by 恩叔 on 16/1/23.
//  Copyright © 2016年 enshu. All rights reserved.
//

#import "WMEUserModel.h"

@implementation WMEUserModel

- (void)dealloc
{
    [_username release];/**<用户名*/
    [_score release];/**<分数*/
    [_city release];/**<所在地*/
    [_birthday release];/**<生日*/
    [_short_description release];/**<简介*/
    [_be_follow_count release];/**<粉丝*/
    [_avatar release];/**<头像*/
    [_gender release];/**<性别 0 为女*/
    [_follow_count release];/**<关注的人*/
    [_background_img_url release];
    [_path release];/**<图片*/
    [_width release];/**<宽*/
    [_height release];/**<高*/
    [_msg release];/**<内容*/
    [_add_datetime_ts release];
    [_add_datetime release];/**<发布时间*/
    [_albumId release];/**<具体内容的ID*/
    [_Id release];

    [super dealloc];
}

- (void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    if ([key isEqualToString:@"photo"]) {
        self.path = value[@"path"];
        self.width = value[@"width"];
        self.height = value[@"height"];
    }
    if ([key isEqualToString:@"album"]) {
        self.albumId = value[@"id"];
    }
    if ([key isEqualToString:@"id"]) {
        self.Id = value;
    }
}

@end
